package com.yedou.convert;

import com.yedou.entity.bo.SubjectInfoBO;
import com.yedou.entity.bo.SubjectOptionBO;
import com.yedou.entity.po.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoConverter1 {

    SubjectInfoConverter1 INSTANCE = Mappers.getMapper(SubjectInfoConverter1.class);

    SubjectInfo convertBoToInfo(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO convertOptionToBo(SubjectOptionBO subjectOptionBO);

    SubjectInfoBO convertOptionAndInfoToBo(SubjectOptionBO subjectOptionBO,SubjectInfo subjectInfo);

    List<SubjectInfoBO> convertListInfoToBO(List<SubjectInfo> subjectInfoList);

}
